package cn.cdg.mall.service;


import cn.cdg.mall.mapper.UserSelectAll;
import cn.cdg.mall.pojo.po.PersonPO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PersonServiceAll {
    @Resource
    private UserSelectAll userSelectAll;

    //@RequestMapping(value= "/sel")
    public List<PersonPO> selectAll(String id)
    {
        //UserSelectAll userSelectAll = new UserSelectAll();
        System.out.println(userSelectAll);
        return userSelectAll.selectAll(id);
        //List<PersonPO> p = null;
        //return p;
    }
}
